package com.rfsp.mcp.pojo.dto;

import com.rfsp.common.base.BaseDTO;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import java.util.Date;

public class MiPayLogDTO extends BaseDTO {
    /** 主键ID */
    private Long id;

    /** 辅助标识，防止修改主键ID查询的漏洞，不保证唯一 */
    public String aid;

    public String payLogCode;

    /** 发起查询的机构ID */
    private Long queryOrgId;

    /** 发起查询的用户ID */
    private Long queryUsrId;

    /** 查询时间 */
    private Date queryTime;
    
    /** 查询原因 */
    @Length(max = 100, message = "查询原因最多100个字符")
    public String queryReason;

    /** 查询结果状态（0.不成功 1.成功） */
    public String queryPayState;

    /** 状态（1.有效 2.无效） */
    public String state;

    /** 被查询机构ID */
    @NotNull(message = "请选择医保定点机构名称")
    private Long targetOrgId;

    public String targetOrgName;

    public String targetOrgCode;

    /** 授权ID */
    @NotNull(message = "请选择授权书")
    private Long authId;

    public String authNo;

    /** 操作用户ID */
    private Long optUserId;

    /** 操作时间 */
    private Date optTime;

    /** 操作类型（1.新增 2.修改 3.删除） */
    public String optType;

    /** null */
    public String remark1;

    /** null */
    public String remark2;

    /** null */
    public String remark3;

    /** null */
    public String remark4;

    /** null */
    public String remark5;

    public String filePath;

    private Long pfmId;
    
    //用户表示是否为医保贷
    private String mcp_pfm;
    
    
    private String dataType;

    private String dataType1;

    private String dataType2;

    private String dataType3;
    
    /**
     * 查询原因类型 1交易前调查、2交易中监测、3交易后管理、4破产事务管理、5业务纠纷、6其他合法目的
     */
    private String queryReasonType;
    
    /** 结算起始日期 */
    private String payStartDate;
    
    /** 结算终止日期 */
    private String payEndDate;

    //接口类型
    private String itfType;

    //定点机构id
    private Long orgYbjId;
    

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getPayLogCode() {
        return payLogCode;
    }

    public void setPayLogCode(String payLogCode) {
        this.payLogCode = payLogCode;
    }

    public Long getQueryOrgId() {
        return queryOrgId;
    }

    public void setQueryOrgId(Long queryOrgId) {
        this.queryOrgId = queryOrgId;
    }

    public Long getQueryUsrId() {
        return queryUsrId;
    }

    public void setQueryUsrId(Long queryUsrId) {
        this.queryUsrId = queryUsrId;
    }

    public Date getQueryTime() {
        return queryTime;
    }

    public void setQueryTime(Date queryTime) {
        this.queryTime = queryTime;
    }

    public String getQueryReason() {
        return queryReason;
    }

    public void setQueryReason(String queryReason) {
        this.queryReason = queryReason;
    }

    public Long getTargetOrgId() {
        return targetOrgId;
    }

    public void setTargetOrgId(Long targetOrgId) {
        this.targetOrgId = targetOrgId;
    }

    public Long getAuthId() {
        return authId;
    }

    public void setAuthId(Long authId) {
        this.authId = authId;
    }

    public Long getOptUserId() {
        return optUserId;
    }

    public void setOptUserId(Long optUserId) {
        this.optUserId = optUserId;
    }

    public Date getOptTime() {
        return optTime;
    }

    public void setOptTime(Date optTime) {
        this.optTime = optTime;
    }

    public String getOptType() {
        return optType;
    }

    public void setOptType(String optType) {
        this.optType = optType;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public String getRemark3() {
        return remark3;
    }

    public void setRemark3(String remark3) {
        this.remark3 = remark3;
    }

    public String getRemark4() {
        return remark4;
    }

    public void setRemark4(String remark4) {
        this.remark4 = remark4;
    }

    public String getRemark5() {
        return remark5;
    }

    public void setRemark5(String remark5) {
        this.remark5 = remark5;
    }

    public String getTargetOrgName() {
        return targetOrgName;
    }

    public void setTargetOrgName(String targetOrgName) {
        this.targetOrgName = targetOrgName;
    }

    public String getTargetOrgCode() {
        return targetOrgCode;
    }

    public void setTargetOrgCode(String targetOrgCode) {
        this.targetOrgCode = targetOrgCode;
    }

    public String getAuthNo() {
        return authNo;
    }

    public void setAuthNo(String authNo) {
        this.authNo = authNo;
    }

    private Long financeId;

    public Long getFinanceId() {
        return financeId;
    }

    public void setFinanceId(Long financeId) {
        this.financeId = financeId;
    }

    private String global;

    public String getGlobal() {
        return global;
    }

    public void setGlobal(String global) {
        this.global = global;
    }

    public String getQueryPayState() {
        return queryPayState;
    }

    public void setQueryPayState(String queryPayState) {
        this.queryPayState = queryPayState;
    }


    public String from;

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Long getPfmId() {
        return pfmId;
    }

    public void setPfmId(Long pfmId) {
        this.pfmId = pfmId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

	public String getQueryReasonType() {
		return queryReasonType;
	}

	public void setQueryReasonType(String queryReasonType) {
		this.queryReasonType = queryReasonType;
	}

	public String getPayStartDate() {
		return payStartDate;
	}

	public void setPayStartDate(String payStartDate) {
		this.payStartDate = payStartDate;
	}

	public String getPayEndDate() {
		return payEndDate;
	}

	public void setPayEndDate(String payEndDate) {
		this.payEndDate = payEndDate;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getMcp_pfm() {
		return mcp_pfm;
	}

	public void setMcp_pfm(String mcp_pfm) {
		this.mcp_pfm = mcp_pfm;
	}

    public String getItfType() {
        return itfType;
    }

    public void setItfType(String itfType) {
        this.itfType = itfType;
    }

    public String getDataType1() {
        return dataType1;
    }

    public void setDataType1(String dataType1) {
        this.dataType1 = dataType1;
    }

    public String getDataType2() {
        return dataType2;
    }

    public void setDataType2(String dataType2) {
        this.dataType2 = dataType2;
    }

    public String getDataType3() {
        return dataType3;
    }

    public void setDataType3(String dataType3) {
        this.dataType3 = dataType3;
    }

    public Long getOrgYbjId() {
        return orgYbjId;
    }

    public void setOrgYbjId(Long orgYbjId) {
        this.orgYbjId = orgYbjId;
    }
}
